﻿
namespace EmployeeManager
{
    public partial class SingleTimesheetEntry
    {
        partial void SingleTimesheetEntry_BeforeDataInitialize()
        {
            // Write your code here.
            this.TimesheetEntryProperty = new TimesheetEntry();
        }

        partial void SingleTimesheetEntry_Saved()
        {
            // Write your code here.
            this.Close(false);
            Application.Current.ShowDefaultScreen(this.TimesheetEntryProperty);
        }

        partial void SingleTimesheetEntry_Loaded()
        {
            this.TimesheetEntryProperty.Worker = this.DataWorkspace.ApplicationData.LoggedInWorker();
        }
    }
}